html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* 关键：确保高度占满屏幕 */
  }
  
  html {
    background: linear-gradient(to bottom right, #af441a, #dcaf30);
    background-attachment: fixed; /* 防止滚动时重复 */
    background-repeat: no-repeat; /* 禁止重复 */
    background-size: cover; /* 拉伸覆盖全屏 */
  }

.navbar_ul {
    z-index: 1000;
    position: fixed;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar_li {
    float: left;
}

.navbar_li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar_li a:hover:not(.active) {
    background-color: #111;
}

.navbar_active {
    background-color: #fd8700;
}

.footer {
    position:static;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    transform: scale(1.2);
    font-size: 0.8em;
}

.white_text {
    color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container a {
    text-decoration: none
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.text-button {
    /* 核心样式：无边框无填充 */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    
    /* 文字样式 */
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    border-radius: 5px;
    padding: 8px 16px; /* 增加内边距使按钮更易点击 */

    /* 过渡效果 */
    transition: all 0.3s ease;

    font-size: larger;
}

/* 悬停效果 - 基础 */
.text-button:hover {
    color: #efefef;
}


.foldable-card {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.card-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-icon {
    transition: var(--transition);
    font-size: 1.5rem;
}

/* 卡片内容 */
.card-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: var(--transition);
    line-height: 1.6;
}

.card-content-inner {
    padding: 0 0 1.5rem;
}

/* 激活状态 */
.foldable-card.active .card-icon {
    transform: rotate(-90deg);
}

.foldable-card.active .card-content {
    max-height: 1024px; /* 根据实际内容调整 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card-header {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

input[type="text"], textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid #ffffff;
}

input[type="text"]:focus, textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    font-size: 50%;
    color: #f0f0f0;
}

.white_text input, .white_text textarea {
    color:white
}

.blog-card, .word-card {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 关键：垂直居中 */
}

.blog-actions, .word-actions {
    display: flex;
    align-items: center; /* 按钮垂直居中 */
    margin-left: 20px;
}